Detection error tradeoff